package UtranNRMProfile;


/**
 * Generated from IDL interface "Carrier".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public abstract class CarrierPOA
	extends org.omg.PortableServer.Servant
	implements org.omg.CORBA.portable.InvokeHandler, UtranNRMProfile.CarrierOperations
{
	static private final java.util.Hashtable m_opsHash = new java.util.Hashtable();
	static
	{
		m_opsHash.put ( "_set_NumOfHsscchs", new java.lang.Integer(0));
		m_opsHash.put ( "_get_HsdpaFlag", new java.lang.Integer(1));
		m_opsHash.put ( "_get_OperationalState", new java.lang.Integer(2));
		m_opsHash.put ( "_get_MbmsTsNum", new java.lang.Integer(3));
		m_opsHash.put ( "_get_ObjectClass", new java.lang.Integer(4));
		m_opsHash.put ( "_set_HsupaState", new java.lang.Integer(5));
		m_opsHash.put ( "_get_MbmsFlag", new java.lang.Integer(6));
		m_opsHash.put ( "_get_HsupaFlag", new java.lang.Integer(7));
		m_opsHash.put ( "_get_ObjectInstance", new java.lang.Integer(8));
		m_opsHash.put ( "_get_NumOfEdch", new java.lang.Integer(9));
		m_opsHash.put ( "_get_NumOfHsscchs", new java.lang.Integer(10));
		m_opsHash.put ( "_set_UserLabel", new java.lang.Integer(11));
		m_opsHash.put ( "_get_Uarfcn", new java.lang.Integer(12));
		m_opsHash.put ( "_set_NumOfHspdschs", new java.lang.Integer(13));
		m_opsHash.put ( "_get_UserLabel", new java.lang.Integer(14));
		m_opsHash.put ( "_get_CarrierId", new java.lang.Integer(15));
		m_opsHash.put ( "_get_HsdpaTsNum", new java.lang.Integer(16));
		m_opsHash.put ( "_get_UarfcnType", new java.lang.Integer(17));
		m_opsHash.put ( "_get_MbmsState", new java.lang.Integer(18));
		m_opsHash.put ( "_set_HsdpaState", new java.lang.Integer(19));
		m_opsHash.put ( "_get_NumOfHspdschs", new java.lang.Integer(20));
		m_opsHash.put ( "_get_NumOfMIch", new java.lang.Integer(21));
		m_opsHash.put ( "_set_HsdpaTsNum", new java.lang.Integer(22));
		m_opsHash.put ( "_get_TimeSlotList", new java.lang.Integer(23));
		m_opsHash.put ( "_set_TimeSlotList", new java.lang.Integer(24));
		m_opsHash.put ( "_get_HsupaState", new java.lang.Integer(25));
		m_opsHash.put ( "_set_MbmsState", new java.lang.Integer(26));
		m_opsHash.put ( "_get_HsdpaState", new java.lang.Integer(27));
		m_opsHash.put ( "_get_HsupaTsNum", new java.lang.Integer(28));
	}
	private String[] ids = {"IDL:UtranNRMProfile/Carrier:1.0","IDL:GenericNRMProfile/ManagedFunction:1.0","IDL:GenericNRMProfile/Top:1.0"};
	public UtranNRMProfile.Carrier _this()
	{
		return UtranNRMProfile.CarrierHelper.narrow(_this_object());
	}
	public UtranNRMProfile.Carrier _this(org.omg.CORBA.ORB orb)
	{
		return UtranNRMProfile.CarrierHelper.narrow(_this_object(orb));
	}
	public org.omg.CORBA.portable.OutputStream _invoke(String method, org.omg.CORBA.portable.InputStream _input, org.omg.CORBA.portable.ResponseHandler handler)
		throws org.omg.CORBA.SystemException
	{
		org.omg.CORBA.portable.OutputStream _out = null;
		// do something
		// quick lookup of operation
		java.lang.Integer opsIndex = (java.lang.Integer)m_opsHash.get ( method );
		if ( null == opsIndex )
			throw new org.omg.CORBA.BAD_OPERATION(method + " not found");
		switch ( opsIndex.intValue() )
		{
			case 0: // _set_NumOfHsscchs
			{
			_out = handler.createReply();
			NumOfHsscchs(_input.read_ulong());
				break;
			}
			case 1: // _get_HsdpaFlag
			{
			_out = handler.createReply();
			UtranNRMSystem.FlagTypeHelper.write(_out,HsdpaFlag());
				break;
			}
			case 2: // _get_OperationalState
			{
			_out = handler.createReply();
			GenericNRMSystem.OperationalStateTypeHelper.write(_out,OperationalState());
				break;
			}
			case 3: // _get_MbmsTsNum
			{
			_out = handler.createReply();
			_out.write_long(MbmsTsNum());
				break;
			}
			case 4: // _get_ObjectClass
			{
			_out = handler.createReply();
			_out.write_string(ObjectClass());
				break;
			}
			case 5: // _set_HsupaState
			{
			_out = handler.createReply();
			HsupaState(UtranNRMSystem.StateTypeHelper.read(_input));
				break;
			}
			case 6: // _get_MbmsFlag
			{
			_out = handler.createReply();
			UtranNRMSystem.FlagTypeHelper.write(_out,MbmsFlag());
				break;
			}
			case 7: // _get_HsupaFlag
			{
			_out = handler.createReply();
			UtranNRMSystem.FlagTypeHelper.write(_out,HsupaFlag());
				break;
			}
			case 8: // _get_ObjectInstance
			{
			_out = handler.createReply();
			_out.write_string(ObjectInstance());
				break;
			}
			case 9: // _get_NumOfEdch
			{
			_out = handler.createReply();
			_out.write_long(NumOfEdch());
				break;
			}
			case 10: // _get_NumOfHsscchs
			{
			_out = handler.createReply();
			_out.write_ulong(NumOfHsscchs());
				break;
			}
			case 11: // _set_UserLabel
			{
			_out = handler.createReply();
			UserLabel(_input.read_string());
				break;
			}
			case 12: // _get_Uarfcn
			{
			_out = handler.createReply();
			_out.write_ulong(Uarfcn());
				break;
			}
			case 13: // _set_NumOfHspdschs
			{
			_out = handler.createReply();
			NumOfHspdschs(_input.read_ulong());
				break;
			}
			case 14: // _get_UserLabel
			{
			_out = handler.createReply();
			_out.write_string(UserLabel());
				break;
			}
			case 15: // _get_CarrierId
			{
			_out = handler.createReply();
			_out.write_string(CarrierId());
				break;
			}
			case 16: // _get_HsdpaTsNum
			{
			_out = handler.createReply();
			_out.write_ulong(HsdpaTsNum());
				break;
			}
			case 17: // _get_UarfcnType
			{
			_out = handler.createReply();
			UtranNRMSystem.uarfcnTypeHelper.write(_out,UarfcnType());
				break;
			}
			case 18: // _get_MbmsState
			{
			_out = handler.createReply();
			UtranNRMSystem.StateTypeHelper.write(_out,MbmsState());
				break;
			}
			case 19: // _set_HsdpaState
			{
			_out = handler.createReply();
			HsdpaState(UtranNRMSystem.StateTypeHelper.read(_input));
				break;
			}
			case 20: // _get_NumOfHspdschs
			{
			_out = handler.createReply();
			_out.write_ulong(NumOfHspdschs());
				break;
			}
			case 21: // _get_NumOfMIch
			{
			_out = handler.createReply();
			_out.write_long(NumOfMIch());
				break;
			}
			case 22: // _set_HsdpaTsNum
			{
			_out = handler.createReply();
			HsdpaTsNum(_input.read_ulong());
				break;
			}
			case 23: // _get_TimeSlotList
			{
			_out = handler.createReply();
			UtranNRMSystem.TimeSlotListConfigStructTypeHelper.write(_out,TimeSlotList());
				break;
			}
			case 24: // _set_TimeSlotList
			{
			_out = handler.createReply();
			TimeSlotList(UtranNRMSystem.TimeSlotListConfigStructTypeHelper.read(_input));
				break;
			}
			case 25: // _get_HsupaState
			{
			_out = handler.createReply();
			UtranNRMSystem.StateTypeHelper.write(_out,HsupaState());
				break;
			}
			case 26: // _set_MbmsState
			{
			_out = handler.createReply();
			MbmsState(UtranNRMSystem.StateTypeHelper.read(_input));
				break;
			}
			case 27: // _get_HsdpaState
			{
			_out = handler.createReply();
			UtranNRMSystem.StateTypeHelper.write(_out,HsdpaState());
				break;
			}
			case 28: // _get_HsupaTsNum
			{
			_out = handler.createReply();
			_out.write_long(HsupaTsNum());
				break;
			}
		}
		return _out;
	}

	public String[] _all_interfaces(org.omg.PortableServer.POA poa, byte[] obj_id)
	{
		return ids;
	}
}
